<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Interpréteur:  Fichier source de Arbre.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&nbsp;de&nbsp;fichier</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>Arbre.h</h1>  </div>
</div>
<div class="contents">
<a href="Arbre_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Contient toutes les spécifications de classes nécessaires</span>
<a name="l00002"></a>00002 <span class="comment">// pour représenter l&#39;arbre abstrait</span>
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef ARBRE_H_</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define ARBRE_H_</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;iomanip&gt;</span>
<a name="l00009"></a>00009 <span class="keyword">using namespace </span>std;
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;<a class="code" href="Symbole_8h.html">Symbole.h</a>&quot;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="Valeur_8h.html">Valeur.h</a>&quot;</span>
<a name="l00013"></a>00013 
<a name="l00015"></a>00015 
<a name="l00016"></a><a class="code" href="classNoeud.html">00016</a> <span class="keyword">class </span><a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00017"></a>00017     <span class="comment">// classe abstraite dont dériveront toutes les classes servant à représenter l&#39;arbre abstrait</span>
<a name="l00018"></a>00018     <span class="comment">// Remarque : la classe ne contient aucun constructeur</span>
<a name="l00019"></a>00019 <span class="keyword">public</span>:
<a name="l00020"></a>00020     <span class="keyword">virtual</span> <a class="code" href="classValeur.html">Valeur</a>* getValeur(); <span class="comment">// méthode pure (non implémentée) qui rend la classe abstraite</span>
<a name="l00021"></a>00021 
<a name="l00022"></a><a class="code" href="classNoeud.html#ab08493f1bca060b33adf86e93a975533">00022</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classNoeud.html#ab08493f1bca060b33adf86e93a975533">afficher</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0) {
<a name="l00023"></a>00023         cout &lt;&lt; setw(4 * indentation) &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00024"></a>00024     }
<a name="l00025"></a>00025     <span class="comment">// pour afficher un noeud avec un décalage (indentation) proportionnel à son niveau dans l&#39;arbre</span>
<a name="l00026"></a>00026 
<a name="l00027"></a><a class="code" href="classNoeud.html#ac1da4f29baa23efa0c35ca8f93580268">00027</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classNoeud.html#ac1da4f29baa23efa0c35ca8f93580268">afficherAda</a>() {
<a name="l00028"></a>00028     }
<a name="l00029"></a>00029 
<a name="l00030"></a><a class="code" href="classNoeud.html#afde029cd93b16aaa7d1cddb82d170db9">00030</a>     <span class="keyword">virtual</span> <a class="code" href="classNoeud.html#afde029cd93b16aaa7d1cddb82d170db9">~Noeud</a>() {
<a name="l00031"></a>00031     } <span class="comment">// présence d&#39;un destructeur virtuel conseillée dans les classes abstraites</span>
<a name="l00032"></a>00032 };
<a name="l00033"></a>00033 
<a name="l00035"></a>00035 
<a name="l00036"></a><a class="code" href="classNoeudSeqInst.html">00036</a> <span class="keyword">class </span><a class="code" href="classNoeudSeqInst.html">NoeudSeqInst</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00037"></a>00037     <span class="comment">// classe pour représenter un noeud &quot;sequence d&#39;instruction&quot;</span>
<a name="l00038"></a>00038     <span class="comment">// qui a autant de fils que d&#39;instructions dans la séquence</span>
<a name="l00039"></a>00039 <span class="keyword">public</span>:
<a name="l00040"></a>00040     <a class="code" href="classNoeudSeqInst.html">NoeudSeqInst</a>(); <span class="comment">// construit une séquence d&#39;instruction vide</span>
<a name="l00041"></a>00041 
<a name="l00042"></a><a class="code" href="classNoeudSeqInst.html#a9e83d47f44756141a71e4102cd23549a">00042</a>     <a class="code" href="classNoeudSeqInst.html#a9e83d47f44756141a71e4102cd23549a">~NoeudSeqInst</a>() {
<a name="l00043"></a>00043     } <span class="comment">// à cause du destructeur virtuel de la classe Noeud</span>
<a name="l00044"></a>00044     <a class="code" href="classValeur.html">Valeur</a>* getValeur(); <span class="comment">// évalue chaque instruction de la séquence</span>
<a name="l00045"></a>00045     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche la séquence d&#39;instructions</span>
<a name="l00046"></a>00046     <span class="keywordtype">void</span> ajouteInstruction(<a class="code" href="classNoeud.html">Noeud</a>* instruction); <span class="comment">// ajoute une instruction à la séquence</span>
<a name="l00047"></a>00047     <span class="keywordtype">void</span> afficherAda(); <span class="comment">//affiche la séquence d&#39;instructions en ada</span>
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">private</span>:
<a name="l00050"></a>00050     vector&lt;Noeud *&gt; tabInst; <span class="comment">// pour stocker les instructions de la séquence</span>
<a name="l00051"></a>00051 };
<a name="l00052"></a>00052 
<a name="l00054"></a>00054 
<a name="l00055"></a><a class="code" href="classNoeudAffectation.html">00055</a> <span class="keyword">class </span><a class="code" href="classNoeudAffectation.html">NoeudAffectation</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00056"></a>00056     <span class="comment">// classe pour représenter un noeud &quot;affectation&quot;</span>
<a name="l00057"></a>00057     <span class="comment">// composé de 2 fils : la variable et l&#39;expression qu&#39;on lui affecte</span>
<a name="l00058"></a>00058 <span class="keyword">public</span>:
<a name="l00059"></a>00059     <a class="code" href="classNoeudAffectation.html">NoeudAffectation</a>(<a class="code" href="classNoeud.html">Noeud</a>* variable, <a class="code" href="classNoeud.html">Noeud</a>* expression); <span class="comment">// construit une affectation</span>
<a name="l00060"></a>00060 
<a name="l00061"></a><a class="code" href="classNoeudAffectation.html#adbf0947fb09f7ae28d9b57736ec50afc">00061</a>     <a class="code" href="classNoeudAffectation.html#adbf0947fb09f7ae28d9b57736ec50afc">~NoeudAffectation</a>() {
<a name="l00062"></a>00062     } <span class="comment">// à cause du destructeur virtuel de la classe Noeud</span>
<a name="l00063"></a>00063     <a class="code" href="classValeur.html">Valeur</a>* getValeur(); <span class="comment">// évalue l&#39;expression et affecte sa valeur à la variable</span>
<a name="l00064"></a>00064     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;affectation</span>
<a name="l00065"></a>00065     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;affectation en ada</span>
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="keyword">private</span>:
<a name="l00068"></a>00068     <a class="code" href="classNoeud.html">Noeud</a>* variable;
<a name="l00069"></a>00069     <a class="code" href="classNoeud.html">Noeud</a>* expression;
<a name="l00070"></a>00070 };
<a name="l00071"></a>00071 
<a name="l00073"></a>00073 
<a name="l00074"></a><a class="code" href="classNoeudOperateurBinaire.html">00074</a> <span class="keyword">class </span><a class="code" href="classNoeudOperateurBinaire.html">NoeudOperateurBinaire</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00075"></a>00075     <span class="comment">// classe pour représenter un noeud &quot;opération arithmétique&quot; composé d&#39;un opérateur (+-*/)</span>
<a name="l00076"></a>00076     <span class="comment">// et de 2 fils : l&#39;opérande gauche et l&#39;opérande droit</span>
<a name="l00077"></a>00077 <span class="keyword">public</span>:
<a name="l00078"></a>00078     <a class="code" href="classNoeudOperateurBinaire.html">NoeudOperateurBinaire</a>(<a class="code" href="classSymbole.html">Symbole</a> operateur, <a class="code" href="classNoeud.html">Noeud</a>* operandeGauche, <a class="code" href="classNoeud.html">Noeud</a>* operandeDroit);
<a name="l00079"></a>00079     <span class="comment">// construit une opération binaire : operandeGauche operateur OperandeDroit</span>
<a name="l00080"></a>00080 
<a name="l00081"></a><a class="code" href="classNoeudOperateurBinaire.html#a4a0c3487efa1dfa47538e40888b63f92">00081</a>     <a class="code" href="classNoeudOperateurBinaire.html#a4a0c3487efa1dfa47538e40888b63f92">~NoeudOperateurBinaire</a>() {
<a name="l00082"></a>00082     } <span class="comment">// à cause du destructeur virtuel de la classe Noeud</span>
<a name="l00083"></a>00083     <a class="code" href="classValeur.html">Valeur</a>* getValeur(); <span class="comment">// évalue l&#39;operande gauche, l&#39;operande droit et applique l&#39;opérateur</span>
<a name="l00084"></a>00084     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;opération</span>
<a name="l00085"></a>00085     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;opération en ada</span>
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 <span class="keyword">private</span>:
<a name="l00088"></a>00088     <a class="code" href="classSymbole.html">Symbole</a> operateur;
<a name="l00089"></a>00089     <a class="code" href="classNoeud.html">Noeud</a>* operandeGauche;
<a name="l00090"></a>00090     <a class="code" href="classNoeud.html">Noeud</a>* operandeDroit;
<a name="l00091"></a>00091 };
<a name="l00092"></a>00092 
<a name="l00093"></a><a class="code" href="classNoeudOperateurBool.html">00093</a> <span class="keyword">class </span><a class="code" href="classNoeudOperateurBool.html">NoeudOperateurBool</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00094"></a>00094     <span class="comment">// classe pour représenter un noeud &quot;opération arithmétique&quot; composé d&#39;un opérateur (+-*/)</span>
<a name="l00095"></a>00095     <span class="comment">// et de 2 fils : l&#39;opérande gauche et l&#39;opérande droit</span>
<a name="l00096"></a>00096 <span class="keyword">public</span>:
<a name="l00097"></a>00097     <a class="code" href="classNoeudOperateurBool.html">NoeudOperateurBool</a>(<a class="code" href="classSymbole.html">Symbole</a> operateur, <a class="code" href="classNoeud.html">Noeud</a>* operandeGauche, <a class="code" href="classNoeud.html">Noeud</a>* operandeDroit);
<a name="l00098"></a>00098     <span class="comment">// construit une opération binaire : operandeGauche operateur OperandeDroit</span>
<a name="l00099"></a>00099 
<a name="l00100"></a><a class="code" href="classNoeudOperateurBool.html#ad8fce828934cabc496bf7d86efa7e18c">00100</a>     <a class="code" href="classNoeudOperateurBool.html#ad8fce828934cabc496bf7d86efa7e18c">~NoeudOperateurBool</a>() {
<a name="l00101"></a>00101     } <span class="comment">// à cause du destructeur virtuel de la classe Noeud</span>
<a name="l00102"></a>00102     <a class="code" href="classValeur.html">Valeur</a>* getValeur(); <span class="comment">// évalue l&#39;operande gauche, l&#39;operande droit et applique l&#39;opérateur</span>
<a name="l00103"></a>00103     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;opération</span>
<a name="l00104"></a>00104     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;opération en ada</span>
<a name="l00105"></a>00105 
<a name="l00106"></a>00106 <span class="keyword">private</span>:
<a name="l00107"></a>00107     <a class="code" href="classSymbole.html">Symbole</a> operateur;
<a name="l00108"></a>00108     <a class="code" href="classNoeud.html">Noeud</a>* operandeGauche;
<a name="l00109"></a>00109     <a class="code" href="classNoeud.html">Noeud</a>* operandeDroit;
<a name="l00110"></a>00110 };
<a name="l00111"></a>00111 
<a name="l00112"></a><a class="code" href="classNoeudInstSi.html">00112</a> <span class="keyword">class </span><a class="code" href="classNoeudInstSi.html">NoeudInstSi</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00113"></a>00113 <span class="keyword">public</span>:
<a name="l00114"></a>00114     <a class="code" href="classNoeudInstSi.html">NoeudInstSi</a>();
<a name="l00115"></a>00115 
<a name="l00116"></a><a class="code" href="classNoeudInstSi.html#af61dc5e40904a464c4b08d24abb3aeac">00116</a>     <a class="code" href="classNoeudInstSi.html#af61dc5e40904a464c4b08d24abb3aeac">~NoeudInstSi</a>() {
<a name="l00117"></a>00117     }
<a name="l00118"></a>00118     <a class="code" href="classValeur.html">Valeur</a>* getValeur();
<a name="l00119"></a>00119     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;instruction si</span>
<a name="l00120"></a>00120     <span class="keywordtype">void</span> ajoute(<a class="code" href="classNoeud.html">Noeud</a>* condition, <a class="code" href="classNoeud.html">Noeud</a>* seqInst); <span class="comment">// ajoute une instruction à la séquence</span>
<a name="l00121"></a>00121     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;instruction si en ada</span>
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 <span class="keyword">private</span>:
<a name="l00124"></a>00124     vector&lt;Noeud *&gt; tabCond;
<a name="l00125"></a>00125     vector&lt;Noeud *&gt; tabSeqInst;
<a name="l00126"></a>00126 };
<a name="l00127"></a>00127 
<a name="l00128"></a><a class="code" href="classNoeudInstTq.html">00128</a> <span class="keyword">class </span><a class="code" href="classNoeudInstTq.html">NoeudInstTq</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00129"></a>00129 <span class="keyword">public</span>:
<a name="l00130"></a>00130     <a class="code" href="classNoeudInstTq.html">NoeudInstTq</a>(<a class="code" href="classNoeud.html">Noeud</a>* cond, <a class="code" href="classNoeud.html">Noeud</a>* seqInst);
<a name="l00131"></a>00131 
<a name="l00132"></a><a class="code" href="classNoeudInstTq.html#ac08d7eec9c8cfe150a02e23f1a6ade64">00132</a>     <a class="code" href="classNoeudInstTq.html#ac08d7eec9c8cfe150a02e23f1a6ade64">~NoeudInstTq</a>() {
<a name="l00133"></a>00133     }
<a name="l00134"></a>00134     <a class="code" href="classValeur.html">Valeur</a>* getValeur();
<a name="l00135"></a>00135     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;instruction tantque</span>
<a name="l00136"></a>00136     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;instruction tantque en ada</span>
<a name="l00137"></a>00137 
<a name="l00138"></a>00138 <span class="keyword">private</span>:
<a name="l00139"></a>00139     <a class="code" href="classNoeud.html">Noeud</a> * cond;
<a name="l00140"></a>00140     <a class="code" href="classNoeud.html">Noeud</a> * seqInst;
<a name="l00141"></a>00141 };
<a name="l00142"></a>00142 
<a name="l00143"></a><a class="code" href="classNoeudInstRepeter.html">00143</a> <span class="keyword">class </span><a class="code" href="classNoeudInstRepeter.html">NoeudInstRepeter</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00144"></a>00144 <span class="keyword">public</span>:
<a name="l00145"></a>00145     <a class="code" href="classNoeudInstRepeter.html">NoeudInstRepeter</a>(<a class="code" href="classNoeud.html">Noeud</a>* cond, <a class="code" href="classNoeud.html">Noeud</a>* seqInst);
<a name="l00146"></a>00146 
<a name="l00147"></a><a class="code" href="classNoeudInstRepeter.html#ace407ed292191c9209c9eca1b8af600d">00147</a>     <a class="code" href="classNoeudInstRepeter.html#ace407ed292191c9209c9eca1b8af600d">~NoeudInstRepeter</a>() {
<a name="l00148"></a>00148     }
<a name="l00149"></a>00149     <a class="code" href="classValeur.html">Valeur</a>* getValeur();
<a name="l00150"></a>00150     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;instruction repeter  </span>
<a name="l00151"></a>00151     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;instruction repeter  en ada</span>
<a name="l00152"></a>00152 
<a name="l00153"></a>00153 <span class="keyword">private</span>:
<a name="l00154"></a>00154     <a class="code" href="classNoeud.html">Noeud</a> * cond;
<a name="l00155"></a>00155     <a class="code" href="classNoeud.html">Noeud</a> * seqInst;
<a name="l00156"></a>00156 };
<a name="l00157"></a>00157 
<a name="l00158"></a><a class="code" href="classNoeudInstPour.html">00158</a> <span class="keyword">class </span><a class="code" href="classNoeudInstPour.html">NoeudInstPour</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00159"></a>00159 <span class="keyword">public</span>:
<a name="l00160"></a>00160     <a class="code" href="classNoeudInstPour.html">NoeudInstPour</a>(<a class="code" href="classNoeud.html">Noeud</a>* affection1, <a class="code" href="classNoeud.html">Noeud</a>* affection2, <a class="code" href="classNoeud.html">Noeud</a>* rela, <a class="code" href="classNoeud.html">Noeud</a>* seq);
<a name="l00161"></a>00161 
<a name="l00162"></a><a class="code" href="classNoeudInstPour.html#a1ec8ac928eb5067056a74aeb754e6aed">00162</a>     <a class="code" href="classNoeudInstPour.html#a1ec8ac928eb5067056a74aeb754e6aed">~NoeudInstPour</a>() {
<a name="l00163"></a>00163     }
<a name="l00164"></a>00164     <a class="code" href="classValeur.html">Valeur</a>* getValeur();
<a name="l00165"></a>00165     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;instruction pour   </span>
<a name="l00166"></a>00166     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;instruction pour en ada</span>
<a name="l00167"></a>00167 
<a name="l00168"></a>00168 <span class="keyword">private</span>:
<a name="l00169"></a>00169     <a class="code" href="classNoeud.html">Noeud</a> * affection[2];
<a name="l00170"></a>00170     <a class="code" href="classNoeud.html">Noeud</a> * cond;
<a name="l00171"></a>00171     <a class="code" href="classNoeud.html">Noeud</a> * seqInst;
<a name="l00172"></a>00172 };
<a name="l00173"></a>00173 
<a name="l00174"></a><a class="code" href="classNoeudInstLire.html">00174</a> <span class="keyword">class </span><a class="code" href="classNoeudInstLire.html">NoeudInstLire</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00175"></a>00175 <span class="keyword">public</span>:
<a name="l00176"></a>00176     <a class="code" href="classNoeudInstLire.html">NoeudInstLire</a>(<a class="code" href="classNoeud.html">Noeud</a>* variable);
<a name="l00177"></a>00177 
<a name="l00178"></a><a class="code" href="classNoeudInstLire.html#a2bf49732dc4d04f26124d7605c2d6cdb">00178</a>     <a class="code" href="classNoeudInstLire.html#a2bf49732dc4d04f26124d7605c2d6cdb">~NoeudInstLire</a>() {
<a name="l00179"></a>00179     }
<a name="l00180"></a>00180     <a class="code" href="classValeur.html">Valeur</a>* getValeur();
<a name="l00181"></a>00181     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;instruction lire</span>
<a name="l00182"></a>00182     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;instruction lire en ada</span>
<a name="l00183"></a>00183 
<a name="l00184"></a>00184 
<a name="l00185"></a>00185 <span class="keyword">private</span>:
<a name="l00186"></a>00186     <a class="code" href="classNoeud.html">Noeud</a>* variable;
<a name="l00187"></a>00187 };
<a name="l00188"></a>00188 
<a name="l00189"></a><a class="code" href="classNoeudInstEcrire.html">00189</a> <span class="keyword">class </span><a class="code" href="classNoeudInstEcrire.html">NoeudInstEcrire</a> : <span class="keyword">public</span> <a class="code" href="classNoeud.html">Noeud</a> {
<a name="l00190"></a>00190 <span class="keyword">public</span>:
<a name="l00191"></a>00191     <a class="code" href="classNoeudInstEcrire.html">NoeudInstEcrire</a>(<a class="code" href="classNoeud.html">Noeud</a>* aEcrire);
<a name="l00192"></a>00192 
<a name="l00193"></a><a class="code" href="classNoeudInstEcrire.html#aaf7a1d8b4d6b6456007f0b949a1bf67f">00193</a>     <a class="code" href="classNoeudInstEcrire.html#aaf7a1d8b4d6b6456007f0b949a1bf67f">~NoeudInstEcrire</a>() {
<a name="l00194"></a>00194     }
<a name="l00195"></a>00195     <a class="code" href="classValeur.html">Valeur</a>* getValeur();
<a name="l00196"></a>00196     <span class="keywordtype">void</span> afficher(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> indentation = 0); <span class="comment">// affiche l&#39;instruction ecrire    </span>
<a name="l00197"></a>00197     <span class="keywordtype">void</span> afficherAda(); <span class="comment">// affiche l&#39;instruction ecrire en ada</span>
<a name="l00198"></a>00198 <span class="keyword">private</span>:
<a name="l00199"></a>00199     <a class="code" href="classNoeud.html">Noeud</a>* aEcrire;
<a name="l00200"></a>00200 
<a name="l00201"></a>00201 };
<a name="l00202"></a>00202 
<a name="l00203"></a>00203 <span class="preprocessor">#endif </span><span class="comment">/* ARBRE_H_ */</span>
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Amis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Thu Jan 5 2012 10:30:28 pour Interpréteur par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
